<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Database Input</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <form>
        <label for="dbname">数据库名称:</label>
        <input type="text" id="dbname" name="dbname">
        <button type="button" onclick="createDatabase()">编辑</button>
    </form>

    <script>
        function createDatabase() {
            const dbName = document.getElementById('dbname').value;
            alert('新建数据库: ' + dbName);
            // Add your database creation logic here
        }
    </script>
</body>
</html>
